]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: fix HC after refactoring
authorJakub Steiner <jimmac@gmail.com>
Wed, 8 Jan 2020 10:08:14 +0000 (11:08 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 9 Jan 2020 15:43:26 +0000 (16:43 +0100)
- panel fg color was derived from bg color. Not a good idea as it's not
  just light/drk, but HC as well.
- deriving from dark theme means contrast for things like popover items
  is better.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904

data/theme/gnome-shell-high-contrast.scss
data/theme/gnome-shell-sass/widgets/_panel.scss

index 23a55eb8651a5bf43575454b8afc4bcf03e655c7..ed52bbb86c03993ade9026ef2daf2f06d27daf51 100644 (file)
@@ -1,4 +1,4 @@
-$variant: 'light';
+$variant: 'dark';
 
 @import "gnome-shell-sass/_high-contrast-colors"; //use gtk colors
 @import "gnome-shell-sass/_drawing";
index ba8e6675cc7260669038a94c3e8636258f378d55..298877f236f6ccebcb8454dd4b349a14ca24afd2 100644 (file)
@@ -3,7 +3,7 @@
 
 $panel_corner_radius: $base_border_radius+1;
 $panel_bg_color: if($variant == 'light', rgba(0,0,0,0.9), #000);
-$panel_fg_color: if($variant == 'light', darken($bg_color, 15%), darken($fg_color, 10%));
+$panel_fg_color: if($variant == 'light', darken($fg_color, 15%), darken($fg_color, 10%));
 $panel_height: 1.86em;
 
 
@@ -103,4 +103,4 @@ $panel_height: 1.86em;
 #appMenu {
   spacing: $base_spacing;
   .label-shadow { color: transparent; }
-}
\ No newline at end of file
+}